import java.lang.reflect.Array;
import java.util.Arrays;

public class TextDemo {
    public static void main(String[] args) {
        int[] array = new int[]{1,2,3,4,5,6};
        int[] c = new int[10];
        System.arraycopy(array,1,c,2,0);
        System.out.println(Arrays.toString(c));
    }
}
